package com.kmust.dream.wanderingdream.product.service;

import com.kmust.dream.wanderingdream.comm.pojo.ResultBean;
import com.kmust.dream.wanderingdream.product.entity.ProductProperty;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface ProductPropertyService extends IService<ProductProperty> {

    ResultBean getAllProperties();

    ResultBean getPropertyById(Integer id);

    ResultBean getPropertyByProductId(Integer productId);

    ResultBean addProductProperty(ProductProperty productProperty);

    ResultBean updateProductProperty(ProductProperty productProperty);

    ResultBean deleteProductProperty(Integer id);

    ResultBean getPropertyName(Integer productId);
}
